import request from '@/utils/request'

// 查询小红书营销数据列表
export function listBiXhsMarketingDwd(query) {
  return request({
    url: '/marketing/BiXhsMarketingDwd/list',
    method: 'get',
    params: query
  })
}

// 查询小红书营销数据详细
export function getBiXhsMarketingDwd(id) {
  return request({
    url: '/marketing/BiXhsMarketingDwd/' + id,
    method: 'get'
  })
}

// 新增小红书营销数据
export function addBiXhsMarketingDwd(data) {
  return request({
    url: '/marketing/BiXhsMarketingDwd',
    method: 'post',
    data: data
  })
}

// 修改小红书营销数据
export function updateBiXhsMarketingDwd(data) {
  return request({
    url: '/marketing/BiXhsMarketingDwd',
    method: 'put',
    data: data
  })
}

// 删除小红书营销数据
export function delBiXhsMarketingDwd(id) {
  return request({
    url: '/marketing/BiXhsMarketingDwd/' + id,
    method: 'delete'
  })
}
